package rota.control;


import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Controller
public class Controlador {
	
	String teste;
	
//	@Autowired
//	public Controlador(String teste) {
//	        this.teste = teste;
//	}
    
    @RequestMapping(value="/inicio", method = RequestMethod.GET)
    public String listContacts(Map<String, Object> map) {
    	
    	//mapeia a chamada no jsp de uma lista e um contato
//        map.put("contact", new Contact());
//        map.put("contactList", contactService.listContact());
 
    	return "controleer";
    }
 
    
}

